cmake_minimum_required(VERSION 3.10.2)

project("openGL_core")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Bin)

include_directories("${PROJECT_SOURCE_DIR}/interface")

set("interface"
        "${PROJECT_SOURCE_DIR}/interface/*.h")

set("src"
        "${PROJECT_SOURCE_DIR}/src/*.h"
        "${PROJECT_SOURCE_DIR}/src/*.cpp")

file(GLOB_RECURSE all_SOURCES
        ${interface}
        ${src})

add_library(openGL_core STATIC ${all_SOURCES})
